<?php
/**
 * @version $Id: controller.php 25 2009-06-29 19:42:20Z der.el.kuku $
 * @package    JClassDocumentor
 * @subpackage _ECR_SUBPACKAGE_
 * @author     EasyJoomla {@link http://www.easy-joomla.org Easy-Joomla.org}
 * @author     Nikolai Plath {@link http://www.easy-joomla.org}
 * @author     Created on 23-Jun-2009
 */

//--No direct access
defined('_JEXEC') or die('=;)');

jimport('joomla.application.component.controller');

/**
 * JClassDocumentor Controller
 *
 * @package    JClassDocumentor
 * @subpackage Controllers
 */
class JClassDocumentorController extends JController
{
	/**
	 * Method to display the view
	 *
	 * @access    public
	 */
	function display()
	{
		parent::display();
	}

	function count_classes()
	{
		echo 'J';

		$basePath = JPATH_ROOT.DS.'libraries'.DS.'joomla';

		$files = JFolder::files($basePath);

		echo '<pre>'.print_r($files, true).'</pre>';
	}

}
